package com.example.jixeishi1.dao;

import com.example.jixeishi1.entity.Order;
import org.apache.ibatis.annotations.Mapper;


import java.sql.SQLException;
import java.util.List;

@Mapper
public interface GoodsDao {

    public List getGoods(int id)throws SQLException;

    public List getDetails(int pid)throws SQLException;

    public List getCf_p(int pid)throws SQLException;

    public List getEvaluate(int id)throws SQLException;

    public List getProperty(int cid)throws SQLException;

    public List getHotGoods()throws SQLException;

    public int addOrder(Order sum)throws SQLException;

    public List getAddress(int uid)throws SQLException;
}
